<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WanDa</title>
<script type="text/javascript" src="/skin/WDYYhtml/js/jquery.js"></script>
<script type="text/javascript" src="/skin/WDYYhtml/js/common.js"></script>
<link rel="stylesheet" href="/skin/WDYYhtml/css/style.css" type="text/css" media="all" />
</head>

<body>
<div class="header-wrapper">
	#parse('/inc/header.htm')
</div>

<!---->
<div id="Wrapper">
	<div class="wrapper">
		<!---->
		<div class="banner">
			<img src="/skin/WDYYhtml/images/banner_activity.jpg" alt="" />
		</div>
		
		<!---->
		<div class="page-nav">
				<a href="/index.do">首页</a> / 
				#set($allTypes=$thisType.getParentTypes())
				#foreach($aType in $allTypes)
				<a href="$aType.getHref()">$aType.getName()</a> / 
				#end 
				<em>$!thisType.name</em></p>
			<!--<a href="#">首页</a> / <a href="#">热点活动</a> / <em>最新活动</em>-->
		</div>
		
		<!---->
		<div class="menu" id="pMenu">
			#set($arootType=$thisType.getRootType())
			#foreach($atype in $arootType.getSubTypes(1))
			<a href="$atype.href"
		    #if($atype.id.equals($thisType.id)) class="now"#end
		    >$atype.name</a>
			#end
			<!--<a class="active" href="#">最新活动</a>
			<a href="#">活动回顾</a>-->
		</div>
		
		<!---->
		<div class="actdo" id="ActDo">
			<h3>活动订阅 &nbsp;&nbsp; /</h3>
			
			<div class="do">
				<strong>我想用手机订阅</strong>
				<p><input id="doPhone" type="text" name="" /><label for="doPhone">输入您的手机号码</label></p>
				<button>确认</button>
			</div>
			
			<div class="do">
				<strong>我想用Email订阅</strong>
				<p><input id="doEmail" type="text" name="" /><label for="doEmail">输入您的Email</label></p>
				<button>确认</button>
			</div>
		</div>
		
		<div class="container">
			<div class="act-detail">
				<h1>$thisNews.getTitle()</h1>
				<!--<h1>万达演艺盛夏狂欢活动</h1>-->
				<p class="p0">活动时间：$thisNews.get("createdate")&nbsp;&nbsp;点击量：$!thisNews.count</p>
				<!--<p class="p0">活动时间：2013.6.10--2013.6.20</p>-->
				
				<div class="cont">
					#foreach($apic in $thisNews.getPics(""))
					<img src="$!apic.url" alt="" />
					#end
					<!--<img src="images/c21.jpg" alt="" />-->
					<h5>活动内容</h5>
					$!thisNews.content
				</div>
				
					<div class="news-nav">
						#if($!thisNews.getPrevNews()&&$!thisNews.getNextNews())
					<p class="p0"><a href="$!thisNews.getPrevNews().href">$!thisNews.getPrevNews().title</a></p>
					<p class="p1"><a href="$!thisNews.getNextNews().href">$!thisNews.getNextNews().title</a></p>
				
					#else
						#if($!thisNews.getPrevNews())
						<p class="p0"><a href="$!thisNews.getPrevNews().href">$!thisNews.getPrevNews().title</a></p>
						<p class="p1">已是最后一个活动</p>
						#else
						<p class="p0">已是第一个活动</p>
						<p class="p1"><a href="$!thisNews.getNextNews().href">$!thisNews.getNextNews().title</a></p>
						#end
					#end
						<!--<p class="p0"><a href="#">王健林董事长会晤哈维·韦恩斯坦并交换礼物</a></p>
						<p class="p1"><a href="#">“O”秀 今夏于长白山剧场隆重登场 </a></p>-->
					</div>
					#parse('/inc/comment.htm')
					#foreach($comment in $commList)
	#set($auser=$comment.getCommentUser())
<input name="id" value="$!comment.id" type="hidden" />
<div class="rer">
		<a class="ava" href="/u.do?parameter=show&uid=$!auser.id"><img src="$!auser.avatar" alt="" />$!auser.acount：</a>
	<div class="txt">
		$!comment.getComment()  <br />
        ($!comment.getDate().toString().substring(0,16))
	</div>
	#if($comment.getUid()==$user.getId())
	<div class="ctrl"><a href="javascript:doDeleteComment('$comment.id')">删除</a></div>
	#end
</div>
#end
			</div>
		</div>
	</div>
	<div class="footer">
		#parse('/inc/copyright.htm')
		<p></p>
		<p></p>	
	</div>
</div>

<!---->
<div class="footer-wrapper">
	<div class="footer">
	#parse('/inc/nav.htm')
	</div>
</div>

<!---->
<div id="NavLeft"><a href="javascript:void(0)">Show</a></div>
<div id="NavRight"><a href="javascript:void(0)">Star</a></div>

<script type="text/javascript">
$(function(){
	mailtype();
})

function mailtype(){
	$("#ActDo p").each(function(){
		var $p = $(this);
		var sT;
		$(">input",$p).focus(function(){
			clearInterval(sT);
			var $v = $(this).val();
			if($v == ''){
				$(">label",$p).show().css({"opacity":0.5});
			}else{
				$(">label",$p).hide();
			}
			
			$(this).keyup(function(){
				var $this = $(this);
				//sT = setInterval(function(){
					var $v = $this.val();
					if($v == ''){
						$(">label",$p).show().css({"opacity":0.5});
					}else{
						$(">label",$p).hide();
					}
				//},20);
			});
		}).blur(function(){
			clearInterval(sT);
			var $v = $(this).val();
			if($v == ''){
				$(">label",$p).show().css({"opacity":1});
			}else{
				$(">label",$p).hide();
			}
		});
	});
}
</script>
</body>
</html>
